#ifndef _SoPhuc_H
#define SoPhuc_H
#pragma once
#include <iostream>

using namespace std;
class SoPhuc
{
private:
	double *pThuc;
	double *pAo;
public:
	SoPhuc();
	SoPhuc(int, int);
	SoPhuc(const SoPhuc &);
	~SoPhuc();

	double GetThuc() const;
	double GetAo() const;
	int SetThuc(double);
	int SetAo(double);
	void operator =(const SoPhuc &);

	void Nhap(); 
	void Xuat() const;

	SoPhuc operator +(const SoPhuc &) const;
	SoPhuc operator -(const SoPhuc &) const;
	SoPhuc operator *(const SoPhuc &) const;
	SoPhuc operator /(const SoPhuc &) const;

	void operator +=(const SoPhuc &);
	void operator -=(const SoPhuc &);
	void operator *=(const SoPhuc &);
	void operator /=(const SoPhuc &);
};

#endif